<%-- 
    Document   : Menu
    Created on : Jun 10, 2012, 12:30:15 AM
    Author     : Jaice
--%>
<%@tag description="put the tag description here" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style/style.css" />

<script  src="${pageContext.request.contextPath}/js/qaEffect.js"></script>
<script src="${pageContext.request.contextPath}/js/flexiblelist.js"></script>

<%-- The list of normal or fragment attributes can be specified here: --%>

<%@attribute name="account" required="true" type="model.Account"%>
<%@attribute name="message"%>
<%-- any content can be specified here e.g.: --%>

<div id="navmenu">
    <br/>


    <ul>


        <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>

        <c:url value="/Pages/Home.jsp" var="urlHome">        
        </c:url>
        <li><a href="${urlHome}">Home</a></li>    


        <c:url value="/Pages/BrowseSong.jsp" var="urlTitle">        
        </c:url>
        <li><a href="${urlTitle}">Title</a></li>    

        <c:url value="/Pages/BrowseArtist.jsp" var="urlArtist">        
        </c:url>
        <li><a href="${urlArtist}">Artist</a></li>  

        <c:url value="/Pages/BrowseAlbum.jsp" var="urlAlbum">       
        </c:url>
        <li><a href="${urlAlbum}">Album</a></li>  

        <c:url value="/Pages/BrowseGenre.jsp" var="urlGenre">        
        </c:url>

        <%--  <li><a href="${urlGenre}">Genre</a></li>  --%>



        <c:url value="/Pages/BrowseTop.jsp" var="urlTop">       
        </c:url>
        <li><a href="${urlTop}"> Top Weekly</a></li>  


   


        <c:if test="${account.accountType eq 'USER'}" > 

            || &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MY ACCOUNT &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ||

            <c:url value="/Pages/ShoppingHistory.jsp" var="urlShopHistory">  
            </c:url>
            <li><a href="${urlShopHistory}">Shopping History</a></li>    

            <li><a href="">   Playlist </a></li>  


        </c:if>
        <c:if test="${account.accountType eq 'ADMIN'}" > 


            ||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MANAGE &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;||

            <c:url value="/Pages/ManageSong.jsp" var="urlTitleM">  
            </c:url>
            <li><a href="${urlTitleM}">Add Songs</a></li>    

            <c:url value="/Pages/ManageArtist.jsp" var="urlArtistM">  
            </c:url>
            <li><a href="${urlArtistM}">Add Artist</a></li>  

            <c:url value="/Pages/ManageAlbum.jsp" var="urlAlbumM">  
            </c:url>
            <li><a href="${urlAlbumM}">Add Album</a></li>  

            
               <c:url value="/Pages/GenerateTransactionList.jsp" var="urlGenerateTransactionReport">  
            </c:url>
            <li><a href="${urlGenerateTransactionReport}">Transaction Report</a></li>  
            

        </c:if>
    </ul>
</div>